import java.io.*;
import java.sql.SQLException;

import org.json.JSONObject;


 public class Main {

    public static void main(String[] args) {
        RefManager rm = new RefManager("D:\\source\\demo\\avl\\", "jdbc:sqlite:D:\\Source\\demo\\mzrepos.db");

        try {
            JSONObject js = rm.request("userKey=123&identifier=1.2.643.5.1.13.13.11.1522&version=7.31&filters=name|врач лабораторией|LIKE&size=20&page=2");
            System.out.println(js.toString());
        } catch (IOException e) {
            e.printStackTrace();
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
 }